package com.tlkg.qa.redistest;

import java.util.SortedSet;
import java.util.TreeSet;
import java.util.concurrent.atomic.AtomicInteger;

public class Count {
	/**
	 * get未命中次数统计
	 */
	public static AtomicInteger getmisscount = new AtomicInteger(0);

	/**
	 * set未命中次数统计
	 */
	public static AtomicInteger setmisscount = new AtomicInteger(0);

	public static SortedSet<Long> sortset = new TreeSet<>();

	public static synchronized void add2Set(long time) {
		sortset.add(time);
	}
}
